import java.awt.Graphics;
import java.awt.Image;


public class HeartContainer {
	int x = 25;
	int y = 567;
	
	int health;
	Image heart = ImageLoader.images.get("heart");
	
	public HeartContainer(int health) {
		this.health = health;
	}
	
	public void draw (Graphics g) {
		for (int i = 0; i < health; i++) {
			g.drawImage(heart, x + i * 50, y, null);
		}
	}
}
